!function (e) {
    var t = {};

    function n(r) {
        if (t[r]) return t[r].exports;
        var o = t[r] = {i: r, l: !1, exports: {__esModule: undefined}};
        return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports
    }

    n.m = e, n.c = t, n.d = function (e, t, r) {
        n.o(e, t) || Object.defineProperty(e, t, {enumerable: !0, get: r})
    }, n.r = function (e) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
    }, n.t = function (e, t) {
        if (1 & t && (e = n(e)), 8 & t) return e;
        if (4 & t && "object" == typeof e && e && e.__esModule) return e;
        var r = Object.create(null);
        if (n.r(r), Object.defineProperty(r, "default", {
            enumerable: !0,
            value: e
        }), 2 & t && "string" != typeof e) for (var o in e) n.d(r, o, function (t) {
            return e[t]
        }.bind(null, o));
        return r
    }, n.n = function (e) {
        var t = e && e.__esModule ? function () {
            return e["default"]
        } : function () {
            return e
        };
        return n.d(t, "a", t), t
    }, n.o = function (e, t) {
        return Object.prototype.hasOwnProperty.call(e, t)
    }, n.p = "", n(n.s = 58)
}([, function (e, t, n) {
    "use strict";
    var r = this && this.__values || function (e) {
        var t = "function" == typeof Symbol && Symbol.iterator, n = t && e[t], r = 0;
        if (n) return n.call(e);
        if (e && "number" == typeof e.length) return {
            next: function () {
                return e && r >= e.length && (e = void 0), {value: e && e[r++], done: !e}
            }
        };
        throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
    }, o = this && this.__importDefault || function (e) {
        return e && e.__esModule ? e : {"default": e}
    };
    t.__esModule = !0, t.loadExternalCSS = t.isLowIE = t.isIos = t.getIEVersion = t.getLatestPrehandleSpeed = t.hashCode = t.debounce = t.getPerformance = t.getLogCommonParams = t.getDeviceInfo = t.getTokenID = void 0;
    var i = o(n(11));

    function a() {
        var e = function (e) {
            var t, n = document.cookie, r = encodeURIComponent(e), o = n.indexOf(r), i = null;
            if (o > -1) {
                var a = n.indexOf(";", o);
                -1 === a && (a = n.length), i = decodeURIComponent(n.substring(o + r.length + 1, a))
            }
            try {
                window.localStorage && (t = localStorage.getItem(e)), window.sessionStorage && (t = t || sessionStorage.getItem(e))
            } catch (c) {
            }
            return t || i
        }("TDC_itoken");
        return e ? e.split(":")[0] : undefined
    }

    function c() {
        var e = new i["default"](navigator.userAgent);
        return {platform: e.getOS().name, client: e.getBrowser().name}
    }

    t.getTokenID = a, t.getDeviceInfo = c, t.getLogCommonParams = function () {
        try {
            var e = document.referrer || "unknown", t = location.href || document.URL, n = navigator.userAgent;
            e = e.length > 512 ? e.substr(0, 512) : e, t = t.length > 1024 ? t.substr(0, 1024) : t;
            var r = c(), o = r.client, i = r.platform;
            return ["referer=".concat(encodeURIComponent(e)), "href=".concat(encodeURIComponent(t)), "token_id=".concat(a()), "ua=".concat(n), "client=".concat(o), "platform=".concat(i)]
        } catch (s) {
            return t = (t = s.message).length > 1024 ? t.substr(0, 1024) : t, ["href=".concat(encodeURIComponent(t))]
        }
    };
    t.getPerformance = function (e) {
        var t, n;
        if (window.performance && "function" == typeof window.performance.getEntriesByType) {
            var o = [], i = {}, a = window.performance.getEntriesByType("resource"),
                c = ["xmlhttprequest", "script", "iframe", "img", "link"];
            try {
                for (var s = r(a), u = s.next(); !u.done; u = s.next()) {
                    var p = u.value;
                    if (-1 !== c.indexOf(p.initiatorType)) {
                        var l = "";
                        try {
                            l = p.name.split("://")[1].split("?")[0]
                        } catch (_) {
                        }
                        /cap_monitor/.test(p.name) || e.test(p.name) && (i[l] = {
                            name: l,
                            duration: Math.floor(p.duration)
                        })
                    }
                }
            } catch (f) {
                t = {error: f}
            } finally {
                try {
                    u && !u.done && (n = s["return"]) && n.call(s)
                } finally {
                    if (t) throw t.error
                }
            }
            for (var d in i) Object.prototype.hasOwnProperty.call(i, d) && o.push(i[d]);
            return o
        }
        return []
    };
    t.debounce = function (e, t) {
        var n;
        return function () {
            for (var r = this, o = [], i = 0; i < arguments.length; i++) o[i] = arguments[i];
            clearTimeout(n), n = setTimeout(function () {
                e.apply(r, o)
            }, t)
        }
    };
    t.hashCode = function (e) {
        void 0 === e && (e = "");
        var t, n = 0;
        if (0 === e.length) return n;
        for (t = 0; t < e.length; t++) n = (n << 5) - n + e.charCodeAt(t), n |= 0;
        return n
    }, t.getLatestPrehandleSpeed = function (e) {
        for (var t = e.length - 1; t >= 0; t--) {
            var n = e[t];
            if (n.name.match(/cap_union_prehandle/)) return n
        }
        return null
    };
    t.getIEVersion = function () {
        var e = navigator.userAgent, t = e.indexOf("compatible") > -1 && e.indexOf("MSIE") > -1,
            n = e.indexOf("Trident") > -1 && e.indexOf("rv:11.0") > -1;
        if (t) {
            new RegExp("MSIE (\\d+\\.\\d+);").test(e);
            var r = parseFloat(RegExp.$1);
            return 7 === r ? 7 : 8 === r ? 8 : 9 === r ? 9 : 10 === r ? 10 : 6
        }
        return n ? 11 : -1
    };
    t.isIos = function () {
        return !!/iphone|ipad|ipod/gi.test(navigator.userAgent)
    };
    t.isLowIE = function (e) {
        var t, n, r = e || 8, o = navigator.userAgent.toLowerCase();
        if (o.indexOf("msie") > -1) {
            if (t = parseInt(o.match(/msie ([\d.]+)/)[1], 10), n = document.documentMode, t && t <= r) return !0;
            if (n && n < 9) return !0
        }
        return !1
    };
    t.loadExternalCSS = function (e, n) {
        void 0 === n && (n = 0);
        var r = e.src, o = e.fallbackSrc, i = e.onError, a = e.onSuccess, c = e.attempts, s = void 0 === c ? 3 : c,
            u = document.createElement("link"), p = document.head || document.getElementsByTagName("head")[0];
        if (n > 0) {
            if (!o) return;
            u.href = o
        } else u.href = r;
        u.type = "text/css", u.rel = "stylesheet";
        var l = null;
        u.onerror = function () {
            clearTimeout(l), function () {
                try {
                    p && u && p.removeChild(u)
                } catch (e) {
                }
            }(), n >= s ? i() : (0, t.loadExternalCSS)(e, n + 1)
        }, u.onload = function () {
            clearTimeout(l), a()
        }, l = setTimeout(function () {
            u.onerror()
        }, 15e3), p.appendChild(u)
    }
}, , function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.convertUrlParamsToJson = t.addUrlParam = t.getQueryParam = t.getQueryMap = t.getQuery = t.cutUrl = t.getEntryUrl = t.getReferrer = t.getHref = void 0;
    t.getHref = function () {
        var e = location.href || document.URL || "";
        return e.length > 256 ? "".concat(e.substr(0, 255), "*") : e
    };
    t.getReferrer = function () {
        var e = document.referrer || "";
        return e.length > 256 ? "".concat(e.substr(0, 255), "*") : e
    };
    t.getEntryUrl = function () {
        var e = (0, t.getHref)();
        try {
            if (e.indexOf("xui.ptlogin2.qq.com") > -1) {
                var n = e.match(/s_url=(.*?)&/);
                n && (e = decodeURIComponent(n[1]))
            }
        } catch (r) {
        }
        return e
    };
    t.cutUrl = function (e) {
        if (e) {
            var t = e.indexOf("?");
            if (t > 0) return e.substring(0, t)
        }
        return e
    };
    t.getQuery = function (e) {
        var t = e ? 1 : 0;
        try {
            return location.search.substr(t)
        } catch (o) {
            try {
                var n = document.URL, r = n.indexOf("?");
                if (r >= 0) return n.substr(r + t)
            } catch (o) {
            }
        }
        return ""
    };
    t.getQueryMap = function () {
        for (var e = {}, n = (0, t.getQuery)(!0).split("&"), r = 0; r < n.length; r++) {
            var o = /(.*?)=(.*)/.exec(n[r]);
            o && (e[o[1]] = o[2])
        }
        return e
    };
    t.getQueryParam = function (e) {
        return (0, t.getQueryMap)()[e]
    };
    var r = function (e, t, n) {
        if (-1 !== e.indexOf("?")) {
            var r = new RegExp("(\\?|&".concat(t, ")=[^&]*"));
            e = r.test(e) ? e.replace(r, "$1=".concat(n)) : "".concat(e, "&").concat(t, "=").concat(n)
        } else e = "".concat(e, "?").concat(t, "=").concat(n);
        return e
    };
    t.addUrlParam = function (e, t) {
        var n;
        for (n in t) "undefined" != typeof t[n] && (e = r(e, encodeURIComponent(n), encodeURIComponent("".concat(t[n]))));
        return e
    }, t.convertUrlParamsToJson = function (e) {
        var t = e.indexOf("?");
        if (-1 === t) return {};
        for (var n = e.substring(t + 1).split("&"), r = {}, o = 0; o < n.length; o++) {
            var i = n[o].split("="), a = decodeURIComponent(i[0]), c = decodeURIComponent(i[1] || "");
            r[a] = c
        }
        return r
    }
}, function (e, t, n) {
    "use strict";
    var r = this && this.__createBinding || (Object.create ? function (e, t, n, r) {
        r === undefined && (r = n);
        var o = Object.getOwnPropertyDescriptor(t, n);
        o && ("get" in o ? t.__esModule : !o.writable && !o.configurable) || (o = {
            enumerable: !0, get: function () {
                return t[n]
            }
        }), Object.defineProperty(e, r, o)
    } : function (e, t, n, r) {
        r === undefined && (r = n), e[r] = t[n]
    }), o = this && this.__exportStar || function (e, t) {
        for (var n in e) "default" === n || Object.prototype.hasOwnProperty.call(t, n) || r(t, e, n)
    };
    t.__esModule = !0, o(n(5), t), o(n(16), t), o(n(17), t)
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.cloudJQPath = t.rceRioDomain = t.intlFormalCdn = t.intlFormalDomain = t.chinaFormalCdn = t.chinaFormalDomain = t.isMobile = t.isWindows = t.isWxDevtools = t.isDev = void 0, t.isDev = !1, t.isWxDevtools = navigator.userAgent && /wechatdevtools/.test(navigator.userAgent), t.isWindows = /windows/i.test(navigator.userAgent), t.isMobile = !t.isWindows && ("ontouchstart" in window || "ontouchstart" in document.createElement("div") || t.isWxDevtools), t.chinaFormalDomain = "https://turing.captcha.qcloud.com", t.chinaFormalCdn = "https://turing.captcha.gtimg.com/1", t.intlFormalDomain = "https://ca.turing.captcha.qcloud.com", t.intlFormalCdn = "https://global.turing.captcha.gtimg.com", t.rceRioDomain = "https://rce.tencentrio.com", t.cloudJQPath = "https://cloudcache.tencentcs.com/qcloud/main/scripts/release/common/vendors/jquery-3.2.1.min.js"
}, function (e, t) {
    (function (t) {
        e.exports = t
    }).call(this, {})
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.getScriptUrl = t.getScript = void 0, t.getScript = function r(e, t) {
        var n = 3, o = e.src, i = e.successCheck, a = e.success, c = e.error, s = e.crossOrigin, u = e.id,
            p = e.inHead ? document.getElementsByTagName("head").item(0) : document.getElementsByTagName("body").item(0),
            l = !1, d = document.createElement("script");

        function _(e) {
            if (!l) {
                var t = !1;
                e && "type" in e && (t = "load" === e.type), "readyState" in this && /^(loaded|complete)$/.test(this.readyState) && (t = !0), t && (!i || i() ? (h(), l = !0, null === a || void 0 === a || a()) : f())
            }
        }

        function f() {
            l || (h(), l = !0, (t = t || 1) >= n ? null === c || void 0 === c || c() : r({
                src: o,
                successCheck: i,
                success: a,
                error: c
            }, t + 1))
        }

        function h() {
            try {
                p && d && p.removeChild(d)
            } catch (c) {
            }
        }

        d.type = "text/javascript", d.async = !0, d.src = o, u && (d.id = u), s && d.setAttribute("crossorigin", s), "onload" in d ? d.onload = _ : d.onreadystatechange = _, d.onerror = f, null === p || void 0 === p || p.appendChild(d)
    }, t.getScriptUrl = function () {
        try {
            throw new Error("check own domain")
        } catch (n) {
            var e = null === n || void 0 === n ? void 0 : n.stack;
            if (!e) return;
            var t = "".concat(e).match(/(https?:\/\/.*\.js)/);
            return {url: null === t || void 0 === t ? void 0 : t[1], stack: e}
        }
    }
}, function (e, t, n) {
    "use strict";

    function r(e, n, r) {
        return "trerror_".concat(t.ErrorCode[e], "_").concat(n, "_").concat(Math.floor((new Date).getTime() / 1e3)).concat(r ? "_".concat(r) : "")
    }

    function o() {
        return "@".concat(Math.random().toString(36).substr(2))
    }

    t.__esModule = !0, t.getRandStr = t.getErrorRes = t.getErrorTicket = t.ErrorTicketTypeEnum = t.ErrorCode = void 0, t.ErrorCode = {
        ENTRYJS_LOAD_ERROR: 1001,
        CAPTCHA_SHOW_TIMEOUT: 1002,
        FRAMEJS_LOAD_TIMEOUT: 1003,
        FRAMEJS_LOAD_ERROR: 1004,
        FRAMEJS_RUN_ERROR: 1005,
        GET_CAPTCHA_CONFIG_REQUEST_ERROR: 1006,
        PRE_TEMPLATE_LOAD_TIMEOUT: 1007,
        IFRAME_LOAD_TIMEOUT: 1008,
        LIB_JQ_LOAD_ERROR: 1009,
        CAPTCHA_JS_LOAD_ERROR: 1010,
        CAPTCHA_JS_RUN_ERROR: 1011,
        REFRESH_ERROR: 1012,
        VERIFY_ERROR: 1013,
        RCE_SERVER_ERROR: 1025,
        CAPTCHA_SERVER_ERROR: 1035,
        SERVICE_IS_NOT_AVAILABLE: 1045,
        RCE_PARAM_ERROR: 1050,
        LOAD_ERROR: 1055,
        LOW_IE: 1065,
        LOAD_LIB_ERROR: 1075,
        INVISIBLE_VERIFY_ERROR: 1085
    }, function (e) {
        e.INVISIBLE_VERIFY_ERROR = "INVISIBLE_VERIFY_ERROR", e.LOAD_LIB_ERROR = "LOAD_LIB_ERROR", e.LOW_IE = "LOW_IE", e.ENTRYJS_LOAD_ERROR = "ENTRYJS_LOAD_ERROR", e.CAPTCHA_SHOW_TIMEOUT = "CAPTCHA_SHOW_TIMEOUT", e.FRAMEJS_LOAD_TIMEOUT = "FRAMEJS_LOAD_TIMEOUT", e.FRAMEJS_LOAD_ERROR = "FRAMEJS_LOAD_ERROR", e.FRAMEJS_RUN_ERROR = "FRAMEJS_RUN_ERROR", e.GET_CAPTCHA_CONFIG_REQUEST_ERROR = "GET_CAPTCHA_CONFIG_REQUEST_ERROR", e.PRE_TEMPLATE_LOAD_TIMEOUT = "PRE_TEMPLATE_LOAD_TIMEOUT", e.IFRAME_LOAD_TIMEOUT = "IFRAME_LOAD_TIMEOUT", e.LIB_JQ_LOAD_ERROR = "LIB_JQ_LOAD_ERROR", e.CAPTCHA_JS_LOAD_ERROR = "CAPTCHA_JS_LOAD_ERROR", e.CAPTCHA_JS_RUN_ERROR = "CAPTCHA_JS_RUN_ERROR", e.REFRESH_ERROR = "REFRESH_ERROR", e.VERIFY_ERROR = "1013", e.RCE_SERVER_ERROR = "RCE_SERVER_ERROR", e.CAPTCHA_SERVER_ERROR = "CAPTCHA_SERVER_ERROR", e.SERVICE_IS_NOT_AVAILABLE = "SERVICE_IS_NOT_AVAILABLE", e.RCE_PARAM_ERROR = "RCE_PARAM_ERROR", e.LOAD_ERROR = "LOAD_ERROR"
    }(t.ErrorTicketTypeEnum || (t.ErrorTicketTypeEnum = {})), t.getErrorTicket = r, t.getErrorRes = function (e, n, i) {
        return {
            ret: 0,
            randstr: o(),
            ticket: r(e, n || "", i),
            errorCode: t.ErrorCode[e],
            errorMessage: e.toLowerCase()
        }
    }, t.getRandStr = o
}, function (e, t, n) {
    "use strict";
    var r = Object.prototype.hasOwnProperty, o = Object.prototype.toString, i = Object.defineProperty,
        a = Object.getOwnPropertyDescriptor, c = function (e) {
            return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === o.call(e)
        }, s = function (e) {
            if (!e || "[object Object]" !== o.call(e)) return !1;
            var t, n = r.call(e, "constructor"),
                i = e.constructor && e.constructor.prototype && r.call(e.constructor.prototype, "isPrototypeOf");
            if (e.constructor && !n && !i) return !1;
            for (t in e) ;
            return void 0 === t || r.call(e, t)
        }, u = function (e, t) {
            i && "__proto__" === t.name ? i(e, t.name, {
                enumerable: !0,
                configurable: !0,
                value: t.newValue,
                writable: !0
            }) : e[t.name] = t.newValue
        }, p = function (e, t) {
            if ("__proto__" === t) {
                if (!r.call(e, t)) return;
                if (a) return a(e, t).value
            }
            return e[t]
        };
    e.exports = function l() {
        var e, t, n, r, o, i, a = arguments[0], d = 1, _ = arguments.length, f = !1;
        for ("boolean" == typeof a && (f = a, a = arguments[1] || {}, d = 2), (null == a || "object" != typeof a && "function" != typeof a) && (a = {}); d < _; ++d) if (null != (e = arguments[d])) for (t in e) n = p(a, t), a !== (r = p(e, t)) && (f && r && (s(r) || (o = c(r))) ? (o ? (o = !1, i = n && c(n) ? n : []) : i = n && s(n) ? n : {}, u(a, {
            name: t,
            newValue: l(f, i, r)
        })) : void 0 !== r && u(a, {name: t, newValue: r}));
        return a
    }
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.monitorSDKRegexList = t.envDomainRegexList = t.monitorErrorRegexList = t.miniAppRegexList = void 0, t.miniAppRegexList = [/wechatdevtools/i, /miniprogram/i, /toutiaomicroapp/i, /baiduboxapp/i, /swan/i, /quickapp/i, /QQ/i, /AlipayClient/i], t.monitorErrorRegexList = [/localhost:8302/, /captcha\.qq\.com/, /\.captcha\.qcloud\.com/, /captcha\.myqcloud\.com/, /captcha\.253\.com/, /t-captcha\.gjacky\.com/, /captcha\.gtimg\.com/, /turing-captcha\.testsite\.woa\.com/, /turing\.captcha\.qcloud\.com/, /turing\.captcha\.gtimg\.com/, /tcaptcha\-pre\.turing\.captcha\.qcloud\.com/], t.envDomainRegexList = [/turing-captcha\.testsite\.woa\.com/, /tcaptcha\-pre\.turing\.captcha\.qcloud\.com/], t.monitorSDKRegexList = [/(Rce)?Captcha\.js|TCaptcha\.js/, /tcaptcha-frame(-rce)?(\.\w+)?\.js/, /drag_ele(_rce)?\.html/, /dy-ele(-rce)?(\.\w+)?\.js/]
}, function (e, t, n) {
    var r;
    !function (o, i) {
        "use strict";
        var a = "model", c = "name", s = "type", u = "vendor", p = "version", l = "mobile", d = "tablet", _ = "smarttv",
            f = function (e) {
                for (var t = {}, n = 0; n < e.length; n++) t[e[n].toUpperCase()] = e[n];
                return t
            }, h = function (e, t) {
                return "string" == typeof e && -1 !== m(t).indexOf(m(e))
            }, m = function (e) {
                return e.toLowerCase()
            }, b = function (e, t) {
                if ("string" == typeof e) return e = e.replace(/^\s\s*/, ""), void 0 === t ? e : e.substring(0, 500)
            }, w = function (e, t) {
                for (var n, r, o, i, a, c, s = 0; s < t.length && !a;) {
                    var u = t[s], p = t[s + 1];
                    for (n = r = 0; n < u.length && !a && u[n];) if (a = u[n++].exec(e)) for (o = 0; o < p.length; o++) c = a[++r], "object" == typeof (i = p[o]) && i.length > 0 ? 2 === i.length ? "function" == typeof i[1] ? this[i[0]] = i[1].call(this, c) : this[i[0]] = i[1] : 3 === i.length ? "function" != typeof i[1] || i[1].exec && i[1].test ? this[i[0]] = c ? c.replace(i[1], i[2]) : void 0 : this[i[0]] = c ? i[1].call(this, c, i[2]) : void 0 : 4 === i.length && (this[i[0]] = c ? i[3].call(this, c.replace(i[1], i[2])) : void 0) : this[i] = c || void 0;
                    s += 2
                }
            }, E = function (e, t) {
                for (var n in t) if ("object" == typeof t[n] && t[n].length > 0) {
                    for (var r = 0; r < t[n].length; r++) if (h(t[n][r], e)) return "?" === n ? void 0 : n
                } else if (h(t[n], e)) return "?" === n ? void 0 : n;
                return e
            }, R = {
                ME: "4.90",
                "NT 3.11": "NT3.51",
                "NT 4.0": "NT4.0",
                2000: "NT 5.0",
                XP: ["NT 5.1", "NT 5.2"],
                Vista: "NT 6.0",
                7: "NT 6.1",
                8: "NT 6.2",
                8.1: "NT 6.3",
                10: ["NT 6.4", "NT 10.0"],
                RT: "ARM"
            }, g = {
                browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [p, [c, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [p, [c, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [c, p], [/opios[\/ ]+([\w\.]+)/i], [p, [c, "Opera Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [p, [c, "Opera GX"]], [/\bopr\/([\w\.]+)/i], [p, [c, "Opera"]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [p, [c, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [c, p], [/\bddg\/([\w\.]+)/i], [p, [c, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [p, [c, "UCBrowser"]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [p, [c, "WeChat"]], [/konqueror\/([\w\.]+)/i], [p, [c, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [p, [c, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [p, [c, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [p, [c, "Smart Lenovo Browser"]], [/(avast|avg)\/([\w\.]+)/i], [[c, /(.+)/, "$1 Secure Browser"], p], [/\bfocus\/([\w\.]+)/i], [p, [c, "Firefox Focus"]], [/\bopt\/([\w\.]+)/i], [p, [c, "Opera Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [p, [c, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [p, [c, "Dolphin"]], [/coast\/([\w\.]+)/i], [p, [c, "Opera Coast"]], [/miuibrowser\/([\w\.]+)/i], [p, [c, "MIUI Browser"]], [/fxios\/([-\w\.]+)/i], [p, [c, "Firefox"]], [/\bqihu|(qi?ho?o?|360)browser/i], [[c, "360 Browser"]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[c, /(.+)/, "$1 Browser"], p], [/samsungbrowser\/([\w\.]+)/i], [p, [c, "Samsung Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[c, /_/g, " "], p], [/metasr[\/ ]?([\d\.]+)/i], [p, [c, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[c, "Sogou Mobile"], p], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [c, p], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [c], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[c, "Facebook"], p], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [c, p], [/\bgsa\/([\w\.]+) .*safari\//i], [p, [c, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [p, [c, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [p, [c, "Chrome Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[c, "Chrome WebView"], p], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [p, [c, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [c, p], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [p, [c, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [p, c], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [c, [p, E, {
                    "1.0": "/8",
                    1.2: "/1",
                    1.3: "/3",
                    "2.0": "/412",
                    "2.0.2": "/416",
                    "2.0.3": "/417",
                    "2.0.4": "/419",
                    "?": "/"
                }]], [/(webkit|khtml)\/([\w\.]+)/i], [c, p], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[c, "Netscape"], p], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [p, [c, "Firefox Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [c, p], [/(cobalt)\/([\w\.]+)/i], [c, [p, /master.|lts./, ""]]],
                cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [["architecture", "amd64"]], [/(ia32(?=;))/i], [["architecture", m]], [/((?:i[346]|x)86)[;\)]/i], [["architecture", "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [["architecture", "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [["architecture", "armhf"]], [/windows (ce|mobile); ppc;/i], [["architecture", "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [["architecture", /ower/, "", m]], [/(sun4\w)[;\)]/i], [["architecture", "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [["architecture", m]]],
                device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [a, [u, "Samsung"], [s, d]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [a, [u, "Samsung"], [s, l]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [a, [u, "Apple"], [s, l]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [a, [u, "Apple"], [s, d]], [/(macintosh);/i], [a, [u, "Apple"]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [a, [u, "Sharp"], [s, l]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [a, [u, "Huawei"], [s, d]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [a, [u, "Huawei"], [s, l]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[a, /_/g, " "], [u, "Xiaomi"], [s, l]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[a, /_/g, " "], [u, "Xiaomi"], [s, d]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [a, [u, "OPPO"], [s, l]], [/\b(opd2\d{3}a?) bui/i], [a, [u, "OPPO"], [s, d]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [a, [u, "Vivo"], [s, l]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [a, [u, "Realme"], [s, l]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [a, [u, "Motorola"], [s, l]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [a, [u, "Motorola"], [s, d]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [a, [u, "LG"], [s, d]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [a, [u, "LG"], [s, l]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [a, [u, "Lenovo"], [s, d]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[a, /_/g, " "], [u, "Nokia"], [s, l]], [/(pixel c)\b/i], [a, [u, "Google"], [s, d]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [a, [u, "Google"], [s, l]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [a, [u, "Sony"], [s, l]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[a, "Xperia Tablet"], [u, "Sony"], [s, d]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [a, [u, "OnePlus"], [s, l]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [a, [u, "Amazon"], [s, d]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[a, /(.+)/g, "Fire Phone $1"], [u, "Amazon"], [s, l]], [/(playbook);[-\w\),; ]+(rim)/i], [a, u, [s, d]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [a, [u, "BlackBerry"], [s, l]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [a, [u, "ASUS"], [s, d]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [a, [u, "ASUS"], [s, l]], [/(nexus 9)/i], [a, [u, "HTC"], [s, d]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [u, [a, /_/g, " "], [s, l]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [a, [u, "Acer"], [s, d]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [a, [u, "Meizu"], [s, l]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [a, [u, "Ulefone"], [s, l]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [u, a, [s, l]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [u, a, [s, d]], [/(surface duo)/i], [a, [u, "Microsoft"], [s, d]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [a, [u, "Fairphone"], [s, l]], [/(u304aa)/i], [a, [u, "AT&T"], [s, l]], [/\bsie-(\w*)/i], [a, [u, "Siemens"], [s, l]], [/\b(rct\w+) b/i], [a, [u, "RCA"], [s, d]], [/\b(venue[\d ]{2,7}) b/i], [a, [u, "Dell"], [s, d]], [/\b(q(?:mv|ta)\w+) b/i], [a, [u, "Verizon"], [s, d]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [a, [u, "Barnes & Noble"], [s, d]], [/\b(tm\d{3}\w+) b/i], [a, [u, "NuVision"], [s, d]], [/\b(k88) b/i], [a, [u, "ZTE"], [s, d]], [/\b(nx\d{3}j) b/i], [a, [u, "ZTE"], [s, l]], [/\b(gen\d{3}) b.+49h/i], [a, [u, "Swiss"], [s, l]], [/\b(zur\d{3}) b/i], [a, [u, "Swiss"], [s, d]], [/\b((zeki)?tb.*\b) b/i], [a, [u, "Zeki"], [s, d]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[u, "Dragon Touch"], a, [s, d]], [/\b(ns-?\w{0,9}) b/i], [a, [u, "Insignia"], [s, d]], [/\b((nxa|next)-?\w{0,9}) b/i], [a, [u, "NextBook"], [s, d]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[u, "Voice"], a, [s, l]], [/\b(lvtel\-)?(v1[12]) b/i], [[u, "LvTel"], a, [s, l]], [/\b(ph-1) /i], [a, [u, "Essential"], [s, l]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [a, [u, "Envizen"], [s, d]], [/\b(trio[-\w\. ]+) b/i], [a, [u, "MachSpeed"], [s, d]], [/\btu_(1491) b/i], [a, [u, "Rotor"], [s, d]], [/(shield[\w ]+) b/i], [a, [u, "Nvidia"], [s, d]], [/(sprint) (\w+)/i], [u, a, [s, l]], [/(kin\.[onetw]{3})/i], [[a, /\./g, " "], [u, "Microsoft"], [s, l]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [a, [u, "Zebra"], [s, d]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [a, [u, "Zebra"], [s, l]], [/smart-tv.+(samsung)/i], [u, [s, _]], [/hbbtv.+maple;(\d+)/i], [[a, /^/, "SmartTV"], [u, "Samsung"], [s, _]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[u, "LG"], [s, _]], [/(apple) ?tv/i], [u, [a, "Apple TV"], [s, _]], [/crkey/i], [[a, "Chromecast"], [u, "Google"], [s, _]], [/droid.+aft(\w+)( bui|\))/i], [a, [u, "Amazon"], [s, _]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [a, [u, "Sharp"], [s, _]], [/(bravia[\w ]+)( bui|\))/i], [a, [u, "Sony"], [s, _]], [/(mitv-\w{5}) bui/i], [a, [u, "Xiaomi"], [s, _]], [/Hbbtv.*(technisat) (.*);/i], [u, a, [s, _]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[u, b], [a, b], [s, _]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[s, _]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [u, a, [s, "console"]], [/droid.+; (shield) bui/i], [a, [u, "Nvidia"], [s, "console"]], [/(playstation [345portablevi]+)/i], [a, [u, "Sony"], [s, "console"]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [a, [u, "Microsoft"], [s, "console"]], [/((pebble))app/i], [u, a, [s, "wearable"]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [a, [u, "Apple"], [s, "wearable"]], [/droid.+; (glass) \d/i], [a, [u, "Google"], [s, "wearable"]], [/droid.+; (wt63?0{2,3})\)/i], [a, [u, "Zebra"], [s, "wearable"]], [/(quest( \d| pro)?)/i], [a, [u, "Facebook"], [s, "wearable"]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [u, [s, "embedded"]], [/(aeobc)\b/i], [a, [u, "Amazon"], [s, "embedded"]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [a, [s, l]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [a, [s, d]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[s, d]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[s, l]], [/(android[-\w\. ]{0,9});.+buil/i], [a, [u, "Generic"]]],
                engine: [[/windows.+ edge\/([\w\.]+)/i], [p, [c, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [p, [c, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [c, p], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [p, c]],
                os: [[/microsoft (windows) (vista|xp)/i], [c, p], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [c, [p, E, R]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[p, E, R], [c, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[p, /_/g, "."], [c, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[c, "Mac OS"], [p, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [p, c], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [c, p], [/\(bb(10);/i], [p, [c, "BlackBerry"]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [p, [c, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [p, [c, "Firefox OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [p, [c, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [p, [c, "watchOS"]], [/crkey\/([\d\.]+)/i], [p, [c, "Chromecast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[c, "Chromium OS"], p], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [c, p], [/(sunos) ?([\w\.\d]*)/i], [[c, "Solaris"], p], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [c, p]]
            }, v = function (e, t) {
                if ("object" == typeof e && (t = e, e = void 0), !(this instanceof v)) return new v(e, t).getResult();
                var n = void 0 !== o && o.navigator ? o.navigator : void 0, r = e || (n && n.userAgent ? n.userAgent : ""),
                    i = n && n.userAgentData ? n.userAgentData : void 0, a = t ? function (e, t) {
                        var n = {};
                        for (var r in e) t[r] && t[r].length % 2 == 0 ? n[r] = t[r].concat(e[r]) : n[r] = e[r];
                        return n
                    }(g, t) : g, c = n && n.userAgent == r;
                return this.getBrowser = function () {
                    var e, t = {};
                    return t.name = void 0, t.version = void 0, w.call(t, r, a.browser), t.major = "string" == typeof (e = t.version) ? e.replace(/[^\d\.]/g, "").split(".")[0] : void 0, c && n && n.brave && "function" == typeof n.brave.isBrave && (t.name = "Brave"), t
                }, this.getCPU = function () {
                    var e = {architecture: void 0};
                    return w.call(e, r, a.cpu), e
                }, this.getDevice = function () {
                    var e = {vendor: void 0, model: void 0, type: void 0};
                    return w.call(e, r, a.device), c && !e.type && i && i.mobile && (e.type = l), c && "Macintosh" == e.model && n && "undefined" != typeof n.standalone && n.maxTouchPoints && n.maxTouchPoints > 2 && (e.model = "iPad", e.type = d), e
                }, this.getEngine = function () {
                    var e = {name: void 0, version: void 0};
                    return w.call(e, r, a.engine), e
                }, this.getOS = function () {
                    var e = {name: void 0, version: void 0};
                    return w.call(e, r, a.os), c && !e.name && i && i.platform && "Unknown" != i.platform && (e.name = i.platform.replace(/chrome os/i, "Chromium OS").replace(/macos/i, "Mac OS")), e
                }, this.getResult = function () {
                    return {
                        ua: this.getUA(),
                        browser: this.getBrowser(),
                        engine: this.getEngine(),
                        os: this.getOS(),
                        device: this.getDevice(),
                        cpu: this.getCPU()
                    }
                }, this.getUA = function () {
                    return r
                }, this.setUA = function (e) {
                    return r = "string" == typeof e && e.length > 500 ? b(e, 500) : e, this
                }, this.setUA(r), this
            };
        v.VERSION = "1.0.38", v.BROWSER = f([c, p, "major"]), v.CPU = f(["architecture"]), v.DEVICE = f([a, u, s, "console", l, _, d, "wearable", "embedded"]), v.ENGINE = v.OS = f([c, p]), void 0 !== t ? (void 0 !== e && e.exports && (t = e.exports = v), t.UAParser = v) : n(6) ? void 0 === (r = function () {
            return v
        }.call(t, n, t, e)) || (e.exports = r) : void 0 !== o && (o.UAParser = v);
        var y = void 0 !== o && (o.jQuery || o.Zepto);
        if (y && !y.ua) {
            var O = new v;
            y.ua = O.getResult(), y.ua.get = function () {
                return O.getUA()
            }, y.ua.set = function (e) {
                O.setUA(e);
                var t = O.getResult();
                for (var n in t) y.ua[n] = t[n]
            }
        }
    }("object" == typeof window ? window : this)
}, , , , , function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.TopicEventEnum = void 0, function (e) {
        e.GET_PREHANDLE = "GET_PREHANDLE", e.HYBRID_VERIFY = "HYBRID_VERIFY", e.READY_FUNC = "READY_FUNC", e.CALLBACK = "CALLBACK", e.REFRESH = "REFRESH", e.REFRESH_MAX = "REFRESH_MAX", e.LIMIT_CLOSE = "LIMIT_CLOSE", e.IFRAME_ERROR = "IFRAME_ERROR", e.EXCHANGE_AGED = "EXCHANGE_AGED", e.SHOW_CALLBACK = "SHOW_CALLBACK", e.ON_BACK = "ON_BACK", e.ON_SUCCESS = "ON_SUCCESS", e.ON_CLOSE = "ON_CLOSE", e.REMOVE_POPUP_BORDER = "REMOVE_POPUP_BORDER", e.WINDOW_CHANGED = "WINDOW_CHANGED", e.READY_CONFIRM = "READY_CONFIRM", e.CHECK_PRELOAD_READY = "CHECK_PRELOAD_READY", e.PRE_LOAD_READY = "PRE_LOAD_READY", e.CAP_CLOSE = "CAP_CLOSE", e.VERIFY_SUCCESS = "VERIFY_SUCCESS", e.SESSION_TIMEOUT = "SESSION_TIMEOUT", e.GO_AGED = "GO_AGED", e.GO_NORMAL_VERIFY = "GO_NORMAL_VERIFY", e[e.PC_REFRESH = 15] = "PC_REFRESH", e[e.OLD_FRAME_REFRESH = 11] = "OLD_FRAME_REFRESH", e[e.OLD_PC_SESSION_TIMEOUT = 16] = "OLD_PC_SESSION_TIMEOUT", e[e.H5_SESSION_TIMEOUT = 12] = "H5_SESSION_TIMEOUT", e[e.ON_HYBRID_VERIFY = 8] = "ON_HYBRID_VERIFY", e[e.ON_READY = 10] = "ON_READY", e[e.ON_POINT_LOADED = 14] = "ON_POINT_LOADED", e[e.OLD_ON_SUCCESS = 3] = "OLD_ON_SUCCESS", e[e.OLD_ON_READY = 7] = "OLD_ON_READY", e[e.OLD_ON_CLOSE = 6] = "OLD_ON_CLOSE", e[e.VTT_ON_CLOSE = 13] = "VTT_ON_CLOSE", e[e.VTT_ON_BACK = 4] = "VTT_ON_BACK", e[e.OLD_GO_AGED = 36] = "OLD_GO_AGED"
    }(t.TopicEventEnum || (t.TopicEventEnum = {}))
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.get$Class = t.get$Id = t.domClass = t.domId = void 0, t.domId = {
        captchaRoot: "tcaptcha_transform_dy",
        captchaPopHeader: "tCaptchaDyPopCtWrapHeader",
        captchaDyBodyWrap: "tCaptchaDyBodyWrap",
        captchaContent: "tCaptchaDyContent",
        captchaPopHeaderTitle: "tCaptchaDyPopHeaderTitle",
        captchaEmbedShowFB: "tCaptchaDyEmbedShowFB",
        captchaEmbedReload: "tCaptchaDyEmbedReload",
        captchaScriptFrame: "tCaptchaScriptFrame",
        frameEmbedLoading: "tCaptchaEmbedLoading",
        frameArea: "tCaptchaIframeArea",
        frameIconRefresh: "tCaptchaIconRefresh",
        frameTransformHeader: "tCaptchaTransformHeader",
        frameTransformText: "tCaptchaTransformText",
        frameTransformClose: "tCaptchaTransformClose",
        frameTransformEIcon: "tCaptchaTransformEIcon",
        frameTransformEb: "tCaptchaTransformEb",
        frameTransformEh: "tCaptchaTransformEh",
        frameVerifyArea: "tCaptchaVerifyArea",
        frameVerifyIcon: "tCaptchaVerifyIcon",
        frameContainer: "tCaptchaContainer",
        frameTransformArea: "tCaptchaTransformArea",
        frameMaskLayer: "tCaptchaMaskLayer",
        frameVerifyText: "tCaptchaVerifyText",
        frameLoadingAnimation: "tCaptchaLoadingAnimation"
    }, t.domClass = {
        hideFeedback: "tencent-captcha-dy__hide-feedback",
        show: "tencent-captcha-dy__show",
        hide: "tencent-captcha-dy__hide",
        instructionIcon: "tencent-captcha-dy__instruction-icon",
        instructionError: "tencent-captcha-dy__instruction-error",
        rightToLeft: "tencent-captcha-dy__right-to-left",
        capTitle: "tencent-captcha-dy__title",
        smallFont: "tencent-captcha-dy__small-fontsize",
        multiLine: "tencent-captcha-dy__multi-line",
        middleFont: "tencent-captcha-dy__middle-fontsize",
        embedArea: "tencent-captcha-dy__embed",
        agedIconWrap: "tencent-captcha-dy__aged-icon",
        normalVerifyIcon: "tencent-captcha-dy__normal-verify-icon",
        statusNormal: "tencent-captcha-dy__status-normal",
        statusHover: "tencent-captcha-dy__status-hover",
        HoverTip: "tencent-captcha-dy__hover-tip",
        noHeader: "tencent-captcha-dy__noHeader",
        darkMode: "tencent-captcha-dy__dark-mode",
        fgItem: "tencent-captcha-dy__fg-item",
        sliderIE: "tencent-captcha-dy__slider-ie",
        sliderBG: "tencent-captcha-dy__slider-bg",
        unselectable: "tencent-captcha-dy__unselectable",
        iconBtn: "tencent-captcha-dy__iconfont-btn",
        sliderNormal: "tencent-captcha-dy__slider-normal",
        blankText: "tencent-captcha-dy__blank-text",
        operateBorder: "tencent-captcha-dy__opera-border",
        clickMark: "tencent-captcha-dy__click-mark",
        pointer: "tencent-captcha-dy__pointer",
        frameEmbedLoading: "tencent-captcha__embed-loading",
        frameEmbedDots: "tencent-captcha__embed-dots",
        frameEmbedDot: "tencent-captcha__embed-dot",
        frameArea: "tencent-captcha__iframe-area",
        frameChrome75: "tencent-captcha__chrome-75",
        frameTransform: "tencent-captcha__transform",
        frameDarkMode: "tencent-captcha__dark-mode",
        frameIcons: "tencent-captcha__frame-icons",
        frameIconRefresh: "tencent-captcha__icon-refresh",
        frameTransformHeader: "tencent-captcha__transform-header",
        frameTransformText: "tencent-captcha__transform-text",
        frameTransformClose: "tencent-captcha__transform-close",
        frameTransformEIcon: "tencent-captcha__transform-eicon",
        frameTransformEb: "tencent-captcha__transform-eb",
        frameTransformEh: "tencent-captcha__transform-eh",
        frameMiddleFont: "tencent-captcha__middle-fontsize",
        frameSmallFont: "tencent-captcha__small-fontsize",
        frameShowIcon: "tencent-captcha__show-icon",
        frameContainer: "tencent-captcha__container",
        frameContainerIframe: "tencent-captcha__container-iframe",
        frameMaskLayer: "tencent-captcha__mask-layer",
        frameVerifyArea: "tencent-captcha__verify-area",
        frameVerifyIcon: "tencent-captcha__verify-icon",
        frameDotsItem: "tencent-captcha__dots-item",
        frameVerifyText: "tencent-captcha__verify-text",
        frameWrapIE9: "tencent-captcha-dy__frame-wrap-ie9",
        frameWrapIE8: "tencent-captcha-dy__frame-wrap-ie8",
        frameWrapIE7: "tencent-captcha-dy__frame-wrap-ie7"
    };
    t.get$Id = function (e) {
        return "string" == typeof e ? window.cap$JQ("#".concat(e)) : window.cap$JQ("#".concat(e.join(" #")))
    };
    t.get$Class = function (e) {
        return "string" == typeof e ? window.cap$JQ(".".concat(e)) : window.cap$JQ(".".concat(e.join(" .")))
    }
}, function (e, t, n) {
    "use strict";
    var r = this && this.__read || function (e, t) {
        var n = "function" == typeof Symbol && e[Symbol.iterator];
        if (!n) return e;
        var r, o, i = n.call(e), a = [];
        try {
            for (; (void 0 === t || t-- > 0) && !(r = i.next()).done;) a.push(r.value)
        } catch (c) {
            o = {error: c}
        } finally {
            try {
                r && !r.done && (n = i["return"]) && n.call(i)
            } finally {
                if (o) throw o.error
            }
        }
        return a
    }, o = this && this.__spreadArray || function (e, t, n) {
        if (n || 2 === arguments.length) for (var r, o = 0, i = t.length; o < i; o++) !r && o in t || (r || (r = Array.prototype.slice.call(t, 0, o)), r[o] = t[o]);
        return e.concat(r || Array.prototype.slice.call(t))
    };
    t.__esModule = !0;
    var i, a = n(5), c = n(1), s = {
        ERROR_TYPE_FRAMEJS_DOWNLOAD_FAIL: 16,
        ERROR_TYPE_JSONP_PREHANDLE: 17,
        ERROR_TYPE_FRAMEJS_CODE_ERROR: 18,
        CALLBACK_NAME: 19,
        IFRAME_CREATE_ERROR: 25,
        IFRAME_POPUP_CREATE_ERROR: 26,
        IFRAME_FULL_CREATE_ERROR: 27,
        OTHER_DOMAIN_MONITOR: 38,
        FRAME_JS_LOAD_TIMEOUT: 40,
        RCE_PARAM_ERROR: 41,
        ERROR_TYPE_CAPTCHA_RUN_FAIL: 45,
        ERROR_TYPE_DY_ELE_RUN_FAIL: 48
    }, u = {
        ERROR_TYPE_FRAMEJS_DOWNLOAD_FAIL: "ERROR_TYPE_FRAMEJS_DOWNLOAD_FAIL",
        ERROR_TYPE_JSONP_PREHANDLE: "ERROR_TYPE_JSONP_PREHANDLE",
        ERROR_TYPE_FRAMEJS_CODE_ERROR: "ERROR_TYPE_FRAMEJS_CODE_ERROR",
        CALLBACK_NAME: "CALLBACK_NAME",
        RCE_PARAM_ERROR: "RCE_PARAM_ERROR",
        ERROR_TYPE_CAPTCHA_RUN_FAIL: "ERROR_TYPE_CAPTCHA_RUN_FAIL",
        ERROR_TYPE_DY_ELE_RUN_FAIL: "ERROR_TYPE_DY_ELE_RUN_FAIL"
    }, p = [];

    function l(e, t, n) {
        if (!a.isDev) try {
            if (void 0 === i) return void p.push([e, t, n]);
            if (i) return;
            (n = n || u[e]).length > 1024 && n.substr(0, 1024), e = s[e];
            var r = ["type=".concat(e), "appid=".concat(t), "reason=".concat(encodeURIComponent(n))];
            (new Image).src = "".concat(window.AqSCodeCapDomain || "", "/cap_monitor?").concat((0, c.getLogCommonParams)().join("&"), "&").concat(r.join("&"))
        } catch (o) {
        }
    }

    t["default"] = {
        type: s, send: l, perfectStack: function (e) {
            var t = "";
            e && e.stack && (t = e.stack.replace(/\n/gi, "").split(/\bat\b/).join("\n").replace(/\?[^:]+/gi, ""));
            try {
                var n = e.toString();
                t.indexOf(n) < 0 && (t = "".concat(n, "@").concat(t))
            } catch (r) {
            }
            return t
        }, setGlobalStatus: function (e) {
            (i = e) || p.forEach(function (e) {
                return l.apply(void 0, o([], r(e), !1))
            })
        }
    }
}, , function (e, t) {
    function n(e, t) {
        Array.prototype[e] || (Array.prototype[e] = t)
    }

    n("indexOf", function (e) {
        var t = this.length, n = Number(arguments[1]) || 0;
        for (n < 0 && (n += t); n < t;) {
            if (n in this && this[n] === e) return n;
            n++
        }
        return -1
    }), n("forEach", function (e, t) {
        if ("function" != typeof e) throw new TypeError;
        for (var n = this.length, r = 0; r < n; r++) e.call(t, this[r], r, this)
    }), n("map", function (e, t) {
        if ("function" != typeof e) throw new TypeError;
        for (var n = this.length, r = new Array(n), o = 0; o < n; o++) r[o] = e.call(t, this[o], o, this);
        return r
    }), n("filter", function (e, t) {
        if ("function" != typeof e) throw new TypeError;
        for (var n = this.length, r = [], o = 0; o < n; o++) if (o in this) {
            var i = this[o];
            e.call(t, i, o, this) && r.push(i)
        }
        return r
    }), n("some", function (e, t) {
        if ("function" != typeof e) throw new TypeError;
        for (var n = this.length, r = 0; r < n; r++) if (r in this && e.call(t, this[r], r, this)) return !0;
        return !1
    }), n("every", function (e, t) {
        if ("function" != typeof e) throw new TypeError;
        for (var n = this.length, r = 0; r < n; r++) if (r in this && !e.call(t, this[r], r, this)) return !1;
        return !0
    }), n("join", function (e, t) {
        if ("function" != typeof e) throw new TypeError;
        for (var n = "", r = 0; r < this.length - 1; r++) n += this[r] + sep;
        return n += this[this.length - 1]
    })
}, , , , , , , function (e, t, n) {
    "use strict";
    t.__esModule = !0, t.isIE9 = void 0;
    var r = n(1);
    n(28);
    var o = (0, r.getIEVersion)();
    if (t.isIE9 = o > -1 && 9 === o, !0 === window.__TencentCaptchaExists__ && !t.isIE9) throw new Error("\u8bf7\u52ff\u591a\u6b21\u5f15\u7528\u817e\u8baf\u9a8c\u8bc1\u7801\u7684\u63a5\u5165js");
    window.__TencentCaptchaExists__ = !0
}, function (module, exports, __webpack_require__) {
    "use strict";
    var _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
        return typeof e
    } : function (e) {
        return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
    };
    "object" !== ("undefined" == typeof JSON ? "undefined" : _typeof(JSON)) && (JSON = {}), function () {
        var rx_one = /^[\],:{}\s]*$/, rx_two = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
            rx_three = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
            rx_four = /(?:^|:|,)(?:\s*\[)+/g,
            rx_escapable = /[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
            rx_dangerous = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
            gap, indent, meta, rep;

        function f(e) {
            return e < 10 ? "0" + e : e
        }

        function this_value() {
            return this.valueOf()
        }

        function quote(e) {
            return rx_escapable.lastIndex = 0, rx_escapable.test(e) ? '"' + e.replace(rx_escapable, function (e) {
                var t = meta[e];
                return "string" == typeof t ? t : "\\u" + ("0000" + e.charCodeAt(0).toString(16)).slice(-4)
            }) + '"' : '"' + e + '"'
        }

        function str(e, t) {
            var n, r, o, i, a, c = gap, s = t[e];
            switch (s && "object" === (void 0 === s ? "undefined" : _typeof(s)) && "function" == typeof s.toJSON && (s = s.toJSON(e)), "function" == typeof rep && (s = rep.call(t, e, s)), void 0 === s ? "undefined" : _typeof(s)) {
                case"string":
                    return quote(s);
                case"number":
                    return isFinite(s) ? String(s) : "null";
                case"boolean":
                case"null":
                    return String(s);
                case"object":
                    if (!s) return "null";
                    if (gap += indent, a = [], "[object Array]" === Object.prototype.toString.apply(s)) {
                        for (i = s.length, n = 0; n < i; n += 1) a[n] = str(n, s) || "null";
                        return o = 0 === a.length ? "[]" : gap ? "[\n" + gap + a.join(",\n" + gap) + "\n" + c + "]" : "[" + a.join(",") + "]", gap = c, o
                    }
                    if (rep && "object" === (void 0 === rep ? "undefined" : _typeof(rep))) for (i = rep.length, n = 0; n < i; n += 1) "string" == typeof rep[n] && (o = str(r = rep[n], s)) && a.push(quote(r) + (gap ? ": " : ":") + o); else for (r in s) Object.prototype.hasOwnProperty.call(s, r) && (o = str(r, s)) && a.push(quote(r) + (gap ? ": " : ":") + o);
                    return o = 0 === a.length ? "{}" : gap ? "{\n" + gap + a.join(",\n" + gap) + "\n" + c + "}" : "{" + a.join(",") + "}", gap = c, o
            }
        }

        "function" != typeof Date.prototype.toJSON && (Date.prototype.toJSON = function () {
            return isFinite(this.valueOf()) ? this.getUTCFullYear() + "-" + f(this.getUTCMonth() + 1) + "-" + f(this.getUTCDate()) + "T" + f(this.getUTCHours()) + ":" + f(this.getUTCMinutes()) + ":" + f(this.getUTCSeconds()) + "Z" : null
        }, Boolean.prototype.toJSON = this_value, Number.prototype.toJSON = this_value, String.prototype.toJSON = this_value), "function" != typeof JSON.stringify && (meta = {
            "\b": "\\b",
            "\t": "\\t",
            "\n": "\\n",
            "\f": "\\f",
            "\r": "\\r",
            '"': '\\"',
            "\\": "\\\\"
        }, JSON.stringify = function (e, t, n) {
            var r;
            if (gap = "", indent = "", "number" == typeof n) for (r = 0; r < n; r += 1) indent += " "; else "string" == typeof n && (indent = n);
            if (rep = t, t && "function" != typeof t && ("object" !== (void 0 === t ? "undefined" : _typeof(t)) || "number" != typeof t.length)) throw new Error("JSON.stringify");
            return str("", {"": e})
        }), "function" != typeof JSON.parse && (JSON.parse = function (text, reviver) {
            var j;

            function walk(e, t) {
                var n, r, o = e[t];
                if (o && "object" === (void 0 === o ? "undefined" : _typeof(o))) for (n in o) Object.prototype.hasOwnProperty.call(o, n) && ((r = walk(o, n)) !== undefined ? o[n] = r : delete o[n]);
                return reviver.call(e, t, o)
            }

            if (text = String(text), rx_dangerous.lastIndex = 0, rx_dangerous.test(text) && (text = text.replace(rx_dangerous, function (e) {
                return "\\u" + ("0000" + e.charCodeAt(0).toString(16)).slice(-4)
            })), rx_one.test(text.replace(rx_two, "@").replace(rx_three, "]").replace(rx_four, ""))) return j = eval("(" + text + ")"), "function" == typeof reviver ? walk({"": j}, "") : j;
            throw new SyntaxError("JSON.parse")
        })
    }()
}, function (e, t, n) {
    e.exports = function (e) {
        var t, n = [], r = document, o = r.documentElement, i = o.doScroll,
            a = (i ? /^loaded|^c/ : /^loaded|c/).test(r.readyState);

        function c(e) {
            for (a = 1; e = n.shift();) e()
        }

        return r.addEventListener && r.addEventListener("DOMContentLoaded", t = function () {
            r.removeEventListener("DOMContentLoaded", t, !1), c()
        }, !1), i && r.attachEvent("onreadystatechange", t = function () {
            /^c/.test(r.readyState) && (r.detachEvent("onreadystatechange", t), c())
        }), e = i ? function (t) {
            self != top ? a ? t() : n.push(t) : function () {
                try {
                    o.doScroll("left")
                } catch (n) {
                    return setTimeout(function () {
                        e(t)
                    }, 50)
                }
                t()
            }()
        } : function (e) {
            a ? e() : n.push(e)
        }
    }()
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0;
    var r = function () {
        function e(e, t) {
            void 0 === t && (t = 0), this.i = 0, this.doneCallback = e, this.isDone = !1, this.timeout = t;
            var n = this;
            this.immediateExec = window.setTimeout(function () {
                n.doneCheck()
            }, 0)
        }

        return e.prototype.doneCheck = function (e, t) {
            try {
                e && e(t)
            } catch (n) {
            }
            if (this.i = this.i - 1, this.i <= 0) try {
                this.isDone = !0, this.doneCallback()
            } catch (n) {
            }
        }, e.prototype.exec = function (e, t, n) {
            clearTimeout(this.immediateExec);
            var r = !1, o = "", i = this;
            this.i = this.i + 1, this.i > 0 && (this.isDone = !1);
            try {
                (o = e(function (e) {
                    r || (r = !0, window.setTimeout(function () {
                        i.doneCheck(t, e)
                    }, 0))
                })) && (r = !0, window.setTimeout(function () {
                    i.doneCheck(t, o)
                }, 0))
            } catch (a) {
            }
            (n = n || this.timeout || 0) > 0 && window.setTimeout(function () {
                r || (r = !0, i.doneCheck(t, ""))
            }, n)
        }, e
    }();
    t["default"] = r
}, function (e, t, n) {
    "use strict";
    e.exports = {
        add: function (e, t, n) {
            e && (e.addEventListener ? e.addEventListener(t, n, !1) : e.attachEvent ? e.attachEvent("on" + t, n) : e["on" + t] = n)
        }, remove: function (e, t, n) {
            e && (e.removeEventListener ? e.removeEventListener(t, n, !1) : e.detachEvent ? e.detachEvent("on" + t, n) : e["on" + t] = null)
        }
    }
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0;
    t["default"] = function (e) {
        var t = document.createElement("b");
        return t.innerHTML = "\x3c!--[if IE ".concat(e, "]><i></i><![endif]--\x3e"), t.getElementsByTagName("i") && 1 === t.getElementsByTagName("i").length
    }
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0, t["default"] = function (e) {
        try {
            return e instanceof HTMLElement
        } catch (t) {
            return "object" == typeof e && 1 === e.nodeType && "object" == typeof e.style && "object" == typeof e.ownerDocument
        }
    }
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0;
    var r = n(3), o = function (e) {
        var t = e.split("?");
        if (2 !== t.length) return {};
        for (var n = t[1] && t[1].split("&"), r = {}, o = 0; o < n.length; o++) {
            var i = n[o].split("=");
            i[1] && (r[i[0]] = decodeURIComponent(i[1]))
        }
        return r
    }, i = function () {
        for (var e = document.getElementsByTagName("script"), t = 0; t < e.length; t++) {
            var n = e[t];
            if (n.src.match(/captcha\.js/i)) return n
        }
    };
    t["default"] = function () {
        try {
            var e = document.getElementById("CaptchaScript") || i() || "";
            if (!e) return "";
            var t = e.src, n = o(t).domain;
            if (n) return n;
            var a = /(https?\:\/\/[0-9a-zA-Z-:\.]+)\//i, c = t.match(a) || (0, r.getHref)().match(a);
            return c ? c[1] : ""
        } catch (s) {
            return ""
        }
    }
}, function (e, t, n) {
    "use strict";
    t.__esModule = !0;
    var r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", o = function (e) {
        var t = [0, 2, 1][e.length % 3],
            n = e.charCodeAt(0) << 16 | (e.length > 1 ? e.charCodeAt(1) : 0) << 8 | (e.length > 2 ? e.charCodeAt(2) : 0);
        return [r.charAt(n >>> 18), r.charAt(n >>> 12 & 63), t >= 2 ? "=" : r.charAt(n >>> 6 & 63), t >= 1 ? "=" : r.charAt(63 & n)].join("")
    };
    t["default"] = function (e) {
        return e.replace(/[\s\S]{1,3}/g, o)
    }
}, , , , , , , , , , , , function (e, t, n) {
    "use strict";
    t.__esModule = !0;
    var r = 2, o = 15e3;
    t["default"] = function i(e, t, n, a, c, s, u, p) {
        void 0 === u && (u = 0), void 0 === p && (p = "");
        var l = !1, d = document.createElement("script");

        function _(e) {
            l || (e && "load" === e.type || /^(loaded|complete)$/.test(this.readyState)) && (a() ? (l = !0, c && c()) : f())
        }

        d.type = "text/javascript", d.async = !0, p && (d.id = p), d.src = (u > 0 ? n : t) + e, "onload" in d ? d.onload = _ : d.onreadystatechange = _;
        var f = function (o) {
            if (!l) {
                l = !0;
                var p = document.getElementsByTagName("head");
                p && p.item && p.item(0).removeChild(d), u >= r ? s && s(o) : i(e, t, n, a, c, s, u + 1)
            }
        };
        d.onerror = f;
        var h = document.getElementsByTagName("head"), m = document.getElementById(p);
        try {
            m && h.item && h.item(0).removeChild(m)
        } catch (s) {
        }
        h && h.item && h.item(0).appendChild(d), setTimeout(function () {
            f(!0)
        }, o)
    }
}, , , , , , , , , , , function (module, exports, __webpack_require__) {
    "use strict";
    var __importDefault = this && this.__importDefault || function (e) {
        return e && e.__esModule ? e : {"default": e}
    };
    exports.__esModule = !0, __webpack_require__(27), __webpack_require__(20);
    var domready_1 = __importDefault(__webpack_require__(29)), extend_1 = __importDefault(__webpack_require__(9)),
        error_handler_1 = __webpack_require__(8), executor_1 = __importDefault(__webpack_require__(30)),
        script_1 = __webpack_require__(7), url_1 = __webpack_require__(3), constants_1 = __webpack_require__(4),
        load_scripts_1 = __importDefault(__webpack_require__(47)),
        event_listener_1 = __importDefault(__webpack_require__(31)),
        ie_version_1 = __importDefault(__webpack_require__(32)),
        is_element_1 = __importDefault(__webpack_require__(33)),
        script_query_1 = __importDefault(__webpack_require__(34)), regex_1 = __webpack_require__(10),
        cap_error_1 = __importDefault(__webpack_require__(18)), btoa_1 = __importDefault(__webpack_require__(35)),
        other_1 = __webpack_require__(1), btoa = window.btoa || btoa_1["default"],
        extend = Object.assign || extend_1["default"], scriptDomain = (0, script_query_1["default"])() || "",
        capDomain = constants_1.isDev ? "" : constants_1.chinaFormalDomain;
    capDomain || constants_1.isDev || (capDomain = scriptDomain), window.TCaptchaGlobal = false;
    var cdnDomain = window.TCaptchaGlobal ? constants_1.intlFormalCdn : constants_1.chinaFormalCdn;
    window.AqSCodeCapDomain = capDomain, window.AqSCodeCdnDomain = cdnDomain, window.TCaptchaPreload = !1;
    var tCaptchaFrameJs = constants_1.isDev ? "/tcaptcha-frame.js" : "/tcaptcha-frame.d1ebc113.js", capObj,
        initQueue = [], initQueueCount = 0, loadErrorTimeout = !1, defaultOpt = {
            type: "popup",
            pos: (0, ie_version_1["default"])(6) ? "absolute" : "fixed",
            lang: 2052,
            showHeader: constants_1.isMobile,
            needFeedBack: true,
            themeColor: "",
            tcaptchaFlag: !0,
            gettype: "cap_union_prehandle",
            domain: capDomain,
            htdoc_path: capDomain,
            global: window.TCaptchaGlobal
        }, noop = function () {
        }, callbackWrap = function (e, t) {
            return function (n) {
                "object" == typeof n && (n = extend({bizState: e.options.bizState, appid: e.options.appid}, n)), t && t(n)
            }
        }, executor = new executor_1["default"](function () {
            initQueue.length > 0 && (initQueue.forEach(function (e) {
                e.instance.show()
            }), initQueue.length = 0)
        }, 0), showTimeout = null, TCaptcha = function () {
            function TCaptcha(e, t, n, r) {
                this.initOpts = defaultOpt, this.options = defaultOpt, this.initParam(e, t, n, r)
            }

            return TCaptcha.prototype.initParam = function ($btn, appid, _tcallback_, opts) {
                var bizState;
                if ((0, is_element_1["default"])($btn)) if (appid && "object" == typeof appid) opts = appid, appid = "", _tcallback_ = undefined; else {
                    if (appid = appid || $btn.getAttribute("data-appid"), !_tcallback_) {
                        var callbackName = $btn.getAttribute("data-cbfn");
                        try {
                            _tcallback_ = eval("window.".concat(callbackName))
                        } catch (e) {
                            throw new Error("Lost `callback`")
                        }
                    }
                    bizState = $btn.getAttribute("data-biz-state")
                } else {
                    if ("string" != typeof $btn || "function" != typeof appid) throw new Error("The parameter of the constructor of the Captcha is passed incorrectly, please refer to the documentation to see the specification of passing parameters");
                    opts = _tcallback_, _tcallback_ = appid, appid = $btn, $btn = null
                }
                opts = opts || {}, opts.callback = _tcallback_ || opts.callback, opts.start = opts.start || noop, opts.end = opts.end || noop;
                var readyCallback = "function" == typeof opts.ready ? opts.ready : noop;
                if (opts.ready = function (e) {
                    readyCallback.call(this, e)
                }, opts.appid = appid || opts.appid, opts.bizState = bizState || opts.bizState, opts.fwidth = parseFloat(opts.fwidth) || 0, opts.sdkOpts = opts.sdkOpts || null, opts.ele = $btn, this.options = opts, "function" != typeof opts.callback) throw new Error("Lost `callback`");
                if (this.initOpts = extend({}, defaultOpt, opts), this.langFun(), $btn) {
                    $btn.eventHandler && event_listener_1["default"].remove($btn, "click", $btn.eventHandler);
                    var _this_1 = this;
                    $btn.eventHandler = function () {
                        _this_1.show()
                    }, event_listener_1["default"].add($btn, "click", $btn.eventHandler)
                }
                this.checkInOwnDomain(appid), cap_error_1["default"].setGlobalStatus(!0 === opts.global)
            }, TCaptcha.prototype.destroy = function () {
                capObj && capObj.destroy && capObj.destroy()
            }, TCaptcha.prototype.refresh = function () {
                capObj && capObj.refresh && capObj.refresh()
            }, TCaptcha.prototype.getTicket = function () {
                if (capObj && capObj.getTicket) {
                    var e = null;
                    return callbackWrap(this, function (t) {
                        e = t
                    })(capObj.getTicket()), e
                }
                return null
            }, TCaptcha.prototype.langFun = function () {
                if (this.initOpts.forceLang) {
                    var e = {"zh-cn": "2052", "zh-hk": "1028", en: "1033"}, t = this.initOpts.forceLang;
                    e[t] ? (this.initOpts.lang = e[t], this.initOpts.forceLang = e[t], this.initOpts.forcestyle = 1) : this.initOpts.forceLang = ""
                }
            }, TCaptcha.prototype.checkInOwnDomain = function (e) {
                try {
                    var t = (0, script_1.getScriptUrl)();
                    if (!t) return;
                    regex_1.monitorErrorRegexList.some(function (e) {
                        return t.stack.match(e)
                    }) || cap_error_1["default"].send("OTHER_DOMAIN_MONITOR", e, "href:".concat((0, url_1.getHref)(), ";stack:").concat(t.stack))
                } catch (n) {
                }
            }, TCaptcha.prototype.show = function () {
                var e = this;
                if (executor.isDone) this.__show__(), null !== showTimeout && (clearTimeout(showTimeout), showTimeout = null); else {
                    if (initQueue.some(function (t) {
                        return t.instance === e
                    })) return;
                    var t = initQueueCount += 1;
                    initQueue.push({
                        instance: this,
                        index: t
                    }), null === showTimeout && (showTimeout = setTimeout(function () {
                        showTimeout = null;
                        for (var n = 0; n < initQueue.length; n++) {
                            if (initQueue[n].index === t) return initQueue.splice(n, 1), e.initOpts.callback((0, error_handler_1.getErrorRes)("CAPTCHA_SHOW_TIMEOUT", e.initOpts.appid))
                        }
                    }, 2e4))
                }
            }, TCaptcha.prototype.__show__ = function () {
                var e = this.initOpts;
                if ((0, other_1.isLowIE)()) return e.callback((0, error_handler_1.getErrorRes)("LOW_IE", e.appid));
                if ("undefined" == typeof window.AqSCode) return loadErrorTimeout ? (cap_error_1["default"].send("FRAME_JS_LOAD_TIMEOUT", e.appid, "".concat(tCaptchaFrameJs, " load timeout")), e.callback((0, error_handler_1.getErrorRes)("FRAMEJS_LOAD_TIMEOUT", e.appid))) : (cap_error_1["default"].send("ERROR_TYPE_FRAMEJS_DOWNLOAD_FAIL", e.appid, "".concat(tCaptchaFrameJs, " download fail")), e.callback((0, error_handler_1.getErrorRes)("FRAMEJS_LOAD_ERROR", e.appid)));
                this.destroy();
                var t = [];
                t.push("aid=".concat(e.appid)), t.push("protocol=https"), t.push("accver=1"), t.push("showtype=".concat(e.type)), t.push("ua=".concat(encodeURIComponent(btoa((navigator.userAgent || "").replace(/[\u00ff-\uffff]+/g, ""))))), t.push("noheader=".concat("false" === "".concat(e.showHeader) ? "1" : "0"));
                var n = e.needFeedBack;
                "string" == typeof n && t.push("fbUrl=".concat(n)), t.push("fb=".concat(n ? "1" : "0"));
                var r = e.enableDarkMode;
                "force" !== r && (r = r ? "1" : "0");
                var o = e.enableAged;
                t.push("aged=".concat("force" === o ? "1" : "0")), t.push("enableAged=".concat(o ? "1" : "0")), t.push("enableDarkMode=".concat(r)), e.deviceID && t.push("deviceID=".concat(e.deviceID)), e.sid && t.push("sid=".concat(e.sid)), e.uid = "".concat(e.uin || ""), t.push("grayscale=1"), e.grayscale = 1, constants_1.isMobile && "point" !== e.type ? (t.push("clientype=1"), e.clientype = 1, e.forceLang && t.push("lang=".concat(e.forceLang)), e.params = "?".concat(t.join("&"))) : (t.push("clientype=2"), e.clientype = 2, e.forceLang && t.push("lang=".concat(e.forceLang)), e.params = "?".concat(t.join("&")), e.s_type_suffix = "?".concat(t.join("&")), e.src = "".concat(capDomain, "/template/placeholder_v2.html").concat(e.s_type_suffix), e.s_type = "".concat(capDomain, "/cap_union_prehandle").concat(e.s_type_suffix), e.slide_src = "".concat(capDomain, "/template/new_slide_placeholder.html").concat(e.s_type_suffix)), e.fb = "false" === "".concat(e.needFeedBack) ? "0" : "1", e.fbUrl = "string" == typeof e.needFeedBack && encodeURIComponent(e.needFeedBack), e.frameJs = tCaptchaFrameJs;
                try {
                    (capObj = new AqSCode(e)).listen(callbackWrap(this, e.callback), callbackWrap(this, e.ready)), capObj.create()
                } catch (i) {
                    cap_error_1["default"].send("ERROR_TYPE_FRAMEJS_CODE_ERROR", e.appid, "entry create err: ".concat(i.message))
                }
            }, TCaptcha
        }(), autoBindBtn = function () {
            var e = document.getElementById("TencentCaptcha");
            e && new TCaptcha(e)
        }, domReadyCb = function () {
            try {
                autoBindBtn()
            } catch (e) {
            }
        };
    executor.exec(function (e) {
        var t = !1;
        (0, domready_1["default"])(function () {
            t || (t = !0, domReadyCb(), e())
        })
    }), executor.exec(function (e) {
        (0, load_scripts_1["default"])(tCaptchaFrameJs, cdnDomain, capDomain, function () {
            return "undefined" != typeof window.AqSCode
        }, function () {
            return e()
        }, function (t) {
            loadErrorTimeout = !0 === t, e()
        })
    }), window.TencentCaptcha = TCaptcha
}]);